package com.heisen.system.vo;


import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DeptVo {

    private Long id;

    private Long parentId;

    private String deptName;


    /**
     * 下一级部门
     */
    private List<DeptVo>  children=new ArrayList<>();



    public void initChildren(){
        this.children = new ArrayList<>();
    }

}
